package com.examination.system.instructor.student;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import javax.persistence.Column;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.MappedSuperclass;
import java.util.Date;

/**
 * @author 寇淇芮
 * @Date 2019/10/14 17:28
 */
@Data
@MappedSuperclass
public abstract class People {
  @Column(name = "name")
  private String  name;
  @Column(name = "sex")
  private Boolean  sex;
  @Column(name = "national")
  private String  national;
  @Column(name = "birth_date")
  //@DateTimeFormat(pattern = "yyyy年MM月dd日")
  private Date birthDate;
  @Column(name = "marital_status")
  private String maritalStatus;
  @Column(name = "the_phone")
  private String  thePhone;
  @Column(name = "address")
  private String  address;
  @Column(name = "political_landscape")
  private String  politicalLandscape;
  @Column(name = "native_place")
  private String  nativePlace;
  @Column(name = "foreign_language_variety")
  private String  foreignLanguageVariety;
  @Column(name = "url")
  private String  url;
  @Column(name = "idNumber")
  private String idNumber;

}
